import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
		// baseUrl:'http://test.hnjlsp.com/api/', //本地环境
		baseUrl:'http://erp.zihero.net:12092/', //正式环境
		imgUrl:'https://kunning.oss-cn-beijing.aliyuncs.com/shop_icon/mini/',
	}, 
    mutations: {
		SET_MASTERINFO(state,obj){
			state.masterInfo=obj
		},
		SET_ISLOGIN(state,obj){
			state.islogin=obj
		},
		SET_ISTABBAR(state,obj){
			state.isTabbar=obj
		}
	},
    actions: {
	 	
	}
})

export default store